<template>
  <div class="luckyScreen">
    <div class="lS_tal_box">
      <div class="PriceRange">
        <input type="number" name="" id="" value="" placeholder="最低价"/>-<input type="number" name="" id="" value="" placeholder="最高价"/>
        <div>搜索</div>
      </div>
      <div class="btnRange"><p class="activ">10-20</p><p>20-30</p><p>30-40</p><p>40-50</p></div>
      <div class="PriceRanking"><p><img src="../assets/lucky_PriceRise.png" ><span>价格从低到高</span></p></div>
      <div class="NameSearch"><input type="text" name="" id="" value="" /><div>搜索</div></div>
    </div>
    <div class="hbb-list">
        <ul>
          <li @click="get_open(1)">
            <div>
              <div class="hbb-list-anmite"></div>
              <!-- <div class="hbb-list-box"><img src="../assets/hbb-list-box.png" ></div> -->
              <div class="hbb-list-item"><img src="../assets/gun2.png" ></div>
            </div>
            <div>
              <div>南征北战</div>
              <div><div><img src="../assets/money-icon.png" ></div><p>78945</p></div>
            </div>
          </li>
          <li >
            <div>
              <div class="hbb-list-anmite"></div>
              <!-- <div class="hbb-list-box"><img src="../assets/hbb-list-box.png" ></div> -->
              <div class="hbb-list-item"><img src="../assets/gun2.png" ></div>
            </div>
            <div>
              <div>南征北战</div>
              <div><div><img src="../assets/money-icon.png" ></div><p>78945</p></div>
            </div>
          </li>
          <li >
            <div>
              <div class="hbb-list-anmite"></div>
              <!-- <div class="hbb-list-box"><img src="../assets/hbb-list-box.png" ></div> -->
              <div class="hbb-list-item"><img src="../assets/gun2.png" ></div>
            </div>
            <div>
              <div>南征北战</div>
              <div><div><img src="../assets/money-icon.png" ></div><p>78945</p></div>
            </div>
          </li>
          <li >
            <div>
              <div class="hbb-list-anmite"></div>
              <!-- <div class="hbb-list-box"><img src="../assets/hbb-list-box.png" ></div> -->
              <div class="hbb-list-item"><img src="../assets/gun2.png" ></div>
            </div>
            <div>
              <div>南征北战</div>
              <div><div><img src="../assets/money-icon.png" ></div><p>78945</p></div>
            </div>
          </li>
        </ul>
    </div>
    <div class="addloding"></div>
  </div>
</template>

<script>
export default {
  // props:[{'Secondary'},{'tal'}],
  props:{
    Secondary:Number,
    tal:Number
  },
 data () {
    return {

    }
  },
  methods: {
    get_open(id){
      this.$router.push({
                path: `/openlicky/${id}`,
          })
    },
    get_list(){
      console.log(this.Secondary)
    }
  },

  created() {
    console.log(this.tal)
    console.log(this.Secondary)
  }
}
</script>

<style scoped>
  .luckyScreen{
    padding-bottom: 50px;
  }
  .addloding{
   background-image: url(../assets/jzgd-icon.png);
   background-size: 100% 100%;
   width: 174px;
   height: 35px;
   margin: 0 auto;
   cursor: pointer;
  }
  .hbb-list-anmite{
    background-image:url(../assets/hbb-list-bg.png);
    background-repeat: no-repeat;
    background-position: 30px 30px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
  }
  .hbb-list ul li:hover .hbb-list-anmite{
     background-image:url(../assets/hbb-list-bgac.png);
     background-position: 5px 5px;
     transform: rotate(90deg);
     transition:all .5s ease-out;
  }
  .hbb-list ul li:hover .hbb-list-item{
   /* background-position: 5px 5px;
     margin-top: -40px; */
    top: 40%;
    left: 50%;
    transition: 0.5s;
    transform: translate(-50%, 0%) rotate(-5deg);
  }
  .hbb-list-item{
    position: absolute;
    z-index: 9;
    max-width: 140px;
    max-height: 140px;
    width: auto ;
    height: auto;
    top: 50%;
    left: 50%;
    transition:all 0.5s;
    transform: translate(-50%, -50%);
  }
  .hbb-list-item img{
    position: absolute;
    max-width: 140px;
    max-height: 140px;
    width: auto ;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .hbb-list-box{
    position: absolute;
    width: 146px;
    height: 146px;
    top: 50%;
    margin-top: -60px;
    left: 50%;
    margin-left: -70px;
    z-index: 6;
  }
  .hbb-list-box img{
    position: absolute;
    max-width: 146px;
    max-height: 146px;
    width: auto ;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .hbb-cent-hedar{
    width: 1200px;
    margin: 0 auto;
    background-color: #242C40;
  }
  .hbb-list{
    width: 1200px;
    margin: 0 auto;
    padding: 32px 30px;
    box-sizing: border-box;
  }
  .hbb-list ul{
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    padding-bottom: 30px;
  }
  .hbb-list ul li{
    /* margin-bottom: 50px; */
    margin-right: 6px;
    cursor: pointer;
  }
  .hbb-list ul li:nth-child(4n){
    margin-right: 0px;
  }
  .hbb-list ul li>div:first-child{
    width: 280px;
    height: 280px;
    position: relative;
  }

  .hbb-list ul li>div:last-child{
    margin:0 auto;
    width:260px ;
  }
  .hbb-list ul li>div:last-child>div:first-child{
    width: 170px;
    height: 43px;
    background-image: url(../assets/hbb-btn-bgs.png);
    background-size: 100% 100%;
    margin:  0 auto;
    line-height: 43px;
    color: #FFFFFF;
  }
  .hbb-list ul li:hover>div:last-child>div:first-child{
    background-image: url(../assets/hbb-btn-bg.png);
  }
  .hbb-list ul li>div:last-child>div:last-child{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
    font-size: 16px;
    color: #FFA32A;
  }
  .hbb-list ul li>div:last-child>div:last-child p{
    margin-left: 5px;
  }

  .lS_tal_box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
  }
  .PriceRange{
    width: 340px;
    height: 36px;
    line-height: 36px;
    display: flex;
    align-items: center;
    background-color: #2C3341;
    padding-left: 50px;
    color: #939CAB;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .PriceRange input{
    height: 36px;
    line-height: 36px;
    width: 70px;
    background-color: #2C3341;
    border: none;
    text-align: center;
    outline: none;
    font-size: 16px;
    color: #939CAB;
  }
  .PriceRange div{
    width: 96px;
    height: 36px;
    line-height: 36px;
    color: #2C3341;
    background-color: #E59328;
    cursor: pointer;
  }
  .btnRange{
    display: flex;
    align-items: center;
  }
  .btnRange>p{
    height: 36px;
    line-height: 36px;
    border-radius: 20px;
    border:2px solid  #2C3341;
    color: #6A7F9F;
    font-size: 16px;
    padding: 0 15px;
    margin-right: 15px;
    cursor: pointer;
  }
  .btnRange>.activ{
    border:2px solid  #6A7F9F;
    color: #D5E6FF;
  }
  .PriceRanking{
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #70C8FB;
    line-height: 18px;
    cursor: pointer;
  }
  .PriceRanking img{
    width: 21px;
    height: 15px;
  }
  .NameSearch{
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-left: 30px;
    background-color: #2C3341;
  }
  .NameSearch input{
    height: 36px;
    line-height: 36px;
    width: 150px;
    background-color: #2C3341;
    border: none;
    text-align: center;
    outline: none;
    font-size: 16px;
    color: #939CAB;
    margin-right: 30px;
  }
  .NameSearch div{
    width: 96px;
    height: 36px;
    line-height: 36px;
    color: #2C3341;
    background-color: #E59328;
    cursor: pointer;
  }
</style>
